Skip to main content

dontResize

Type

property

Summary

Specifies whether an irregular polygon graphic is resized when its vertexes are changed.

Syntax

set the dontResize of <graphic> to {true | false}

Description

Use the dontResize property to automatically resize and reposition a graphic when you set its points property.

You can reshape a graphic whose style property is set to polygon by changing its points or relativePoints property.

If you change the graphic's points or relativePoints property, and the graphic's dontResize property is set to false, the graphic is resized and repositioned if necessary to accommodate the new shape.

If you change the points or relativePoints and the dontResize is false, the graphic is not resized to fit the new set of vertexes. This may result in parts of the shape being cut off at the boundaries of the graphic.

Examples

set the dontResize of graphic 12 to true

command: drag

glossary: vertex, property

keyword: polygon, graphic

object: graphic

property: points, style, relativePoints

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?